﻿using DA.Model.DB;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DA.DataBase.DataBaseContext
{
    public class BaseContext : DbContext
    {
        public DbSet<Material> Materials { get; set; }
        public DbSet<Part> Parts { get; set; }
        public DbSet<PlcSetting> PlcSettings { get; set; }
        public DbSet<Process> Processes { get; set; }
        public DbSet<ProcessRecord> ProcessRecords { get; set; }
        public DbSet<ProcessRecordCache> ProcessRecordCaches { get; set; }
        public DbSet<ProductionLine> ProductionLines { get; set; }
        public DbSet<Recipe> Recipes { get; set; }
        public DbSet<RecipeConfig> RecipeConfigs { get; set; }
        public DbSet<Station> Stations { get; set; }
        public DbSet<UserRecipe> UserRecipes { get; set; }
        public DbSet<WorkShop> WorkShops { get; set; }
    }
}
